package com.slxy.before;

public class DemoB {

    public void b(){
        System.out.println("我是b的b方法");
        DemoA demoA = new DemoA();
        demoA.a();
    }
    public void b(DemoA demoA){
        System.out.println("我是b的b方法");
        demoA.a();
    }
}
